Remove the unnecessary information, and output the final planning steps.